import axios from '@/utils/request.js'

// 猜你喜欢
export const getLikeListAPI = ({limit = 4}) => {
        return axios({
                url: '/goods/relevant',
                params: {
                        limit
                }
        })
}

// 订单列表
/*
params: {
  orderState:0,
  page:1,
  pageSize:2
}
*/
export const getUserOrder = (params) => {
        return axios({
                url: '/member/order',
                method: 'GET',
                params
        })
}
